package com.test.pojo;

/**
 * @author 3489309323@qq.com
 * @create 2020-06-07-19:27
 */
public class User {
  private Integer id;
  private String lastName;
  private Integer sex;

  public User() {
  }

  public User(Integer id, String lastName, Integer sex) {
    this.id = id;
    this.lastName = lastName;
    this.sex = sex;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getLastName() {
    return lastName;
  }

  public void setLastName(String lastName) {
    this.lastName = lastName;
  }

  public Integer getSex() {
    return sex;
  }

  public void setSex(Integer sex) {
    this.sex = sex;
  }

  @Override
  public String toString() {
    return "User{" +
      "id=" + id +
      ", lastName='" + lastName + '\'' +
      ", sex=" + sex +
      '}';
  }
}
